diff --git a/template/mail-user-password.php b/template/mail-user-password.php index 5e18ba7..efe88bf 100644 --- a/template/mail-user-password.php +++ b/template/mail-user-password.php @@ -1,54 +1,54 @@ . /* * This is the template for the e-mail that contains the user password * * Called from * template/sidebar.php */ // unuseful when load directly defined( 'BOZ_PHP' ) or die; ?> getSitePage( true ), [ + menu_entry( 'login' )->getAbsoluteURL(), [ 'user_uid' => $uid ] ) ?> diff --git a/www/index.php b/www/index.php index 1b052bb..42d8e3c 100644 --- a/www/index.php +++ b/www/index.php @@ -1,80 +1,80 @@ . /* * This is the homepage of your hosting panel */ // load framework require '../load.php'; // require read permissions require_permission( 'read' ); // spawn header Header::spawn( [ 'breadcrumb' => false, ] ); // user domains $domains = ( new DomainAPI() ) ->select( [ 'domain.domain_ID', 'domain_name', 'domain_active', ] ) ->whereDomainIsEditable() ->orderBy( 'domain_name' ) ->queryGenerator(); ?>

valid() ): ?>

-

+

. /* * This is the login page */ // load framework require '../load.php'; // spawn header Header::spawn(); // go to the wanted page (or homepage) if( login() ) { http_redirect( after_login_url(), 307 ); } ?> -

+

- - " /> + + " />
- +
-

+

- +
getSitePage( URL ); } diff --git a/www/password-reset.php b/www/password-reset.php index 82c59e2..c0c4f64 100644 --- a/www/password-reset.php +++ b/www/password-reset.php @@ -1,50 +1,50 @@ . require '../load.php'; /* * This is the password reset page */ // do something if( is_action( 'password-reset' ) ) { die( "Apologies. This feature is not ready :(" ); if( is_logged() ) { send_email( __( "Password reset" ), $message, $to = false ); } else { send_email( __( "Password reset" ), $message, $to = false ); } } // spawn header Header::spawn(); ?>
- - " /> + + " />
- +